package edcom.client;

import java.io.Serializable;

public class TaggedImage implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -8806851134500101343L;

	private String id;
	private String extension;
	private String name;
	private String className; // the course where it belongs
	private String description; // miscellaneous data (owner? grade? media-type?)
	
	public TaggedImage() {
		
	}
	
	public TaggedImage(String id, String ext, String className, String name, String description)
	{
		this.setId(id);
		this.setExtension(ext);
		this.setName(name);
		this.setClassName(className);
		this.setDescription(description);
	}

	/**
	 * @param name the name to set
	 */
	private void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param className the className to set
	 */
	private void setClassName(String className) {
		this.className = className;
	}

	/**
	 * @return the className
	 */
	public String getClassName() {
		return className;
	}

	/**
	 * @param description the description to set
	 */
	private void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}

	private void setId(String url) {
		this.id = url;
	}

	public String getId() {
		return id;
	}

	private void setExtension(String extension) {
		this.extension = extension;
	}

	public String getExtension() {
		return extension;
	}
	
}
